package com.ysd.gulimall.cart.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;

//跟gulimall.thread配置有关系
@ConfigurationProperties(prefix = "gulimall.thread")
@Data
public class ThreadPoolConfigProperties {
    //核心线程大小
    private Integer coreSize;
    //最大核心线程池大小
    private Integer maxSize;
    //空闲线程保持就秒 等待时间
    private Integer keepAliveTime;
}
